#include <Utils/Type.h>
#include "../drv/DEVStatus_PR.h"
#include <sys/SystemState.h>
#include "HalSystemState.h"


UINT32 HalSystemState_Report(UINT8 ID, UINT32 Param, void *Info)
{
    switch(ID)
    {
        case SYSTEMSTATE_REPORT_ID_USER_LOGIN:
            if(Param <= 7)
            {
                DEVStatus_PR_Login();	
            }            
            break;
        case SYSTEMSTATE_REPORT_ID_USER_LOGOUT:
            if(Param <= 7)
            {
                DEVStatus_PR_Logout();
            }  
            break;
		case SYSTEMSTATE_REPORT_ID_LEDON:
			//GPIO_SysLED_On();
			break;
		case SYSTEMSTATE_REPORT_ID_LEDOFF:
			//GPIO_SysLED_Off();
			break;
		case SYSTEMSTATE_REPORT_ID_LEDBLINK:
			//GPIO_SysLED_Blink(Param);
			break;
        default:
            break;    
    } 
    
    return (0);	
}
